import requests

def ihrm_login_gettoken():
    login_url = "http://ihrm2-test.itheima.net/api/sys/login"
    login_json = {"mobile": "13800000002", "password": "888itcast.CN764%..."}
    login_resp = requests.post(url=login_url, json=login_json)
    token = "Bearer " + login_resp.json()["data"]
    return token
